<?php
if (!defined('baseinfo')) {
    exitdata();
}   
?>
<div class="sB sBR clBg2 userSlctNone">
    <div class="sBRShdw"></div>
    <div class="wrpSBR">
        <div class="secTopSB clBd2 bdBtm w232">
            <h1 class="ttlNoti clTxt1 fs04 cutTxt">Notification</h1>
            <div class="wrpBtnTgMenu">
            <?if(count($data['user'])!=0){?>
                <button class="btnTgMenu notiTg tgBgCl <?if(count($data['user'])==0){?> notiBgTg <?}?>" onclick="swapnotification(3)">
                    <span class="notiDef clBgBt2">
                        <span class="ico icoNotiSys"></span>
                    </span>
                </button>
          
                <button class="btnTgMenu notiTg tgBgCl notiBgTg" onclick="swapnotification(0)">
                    <span class="notiDef clBgBt2">
                        <span class="ico icoNotiUser"></span>
                    </span>
                </button>
                <?}?>
            </div>
        </div>
        <div class="wrpSecNoti w232">
            <div class="wrpInNoti clBd2 bdBtm">
  
            </div>
            <button class="btnSeeMore clTxt3 fs02" onclick="getnotificationlist()">See More</button>                        
        </div>
        <!-- <div class="noNoti">
            <span class="cltxt3 fs02">You don't have notification.</span>
        </div> -->
    </div>
    <? if(NameDmconnex=="Canonlife"||NameDmconnex=="Infostant"){  ?>
        <div class="seeAllNoti clBg2 clBd2 bdR" onclick="redirectto(baseinfo+'/mynoti')">
            <span class="fs03">See All</span>
        </div>
        <div class="clearAllNoti clBg2" onclick="readallnotification()">
            <span class="fs03">Clear All</span>
        </div>
    
    <?} else {?>

    <?}?>
</div>

